/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.app.jsf;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author VA
 */
@ManagedBean(name = "UserBean")
@RequestScoped
public class UserBean {

    /** Creates a new instance of UserBean */
    public UserBean(String name, String pass) {
        this.name = name;
        this.pass = pass;
    }
    private String name;
    private String pass;

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the pass
     */
    public String getPass() {
        return pass;
    }

    /**
     * @param pass the pass to set
     */
    public void setPass(String pass) {
        this.pass = pass;
    }
}
